<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/include/taglib.jsp"%>
<%@ include file="/jsp/include/headform.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
    <base href="<%=basePath%>">

    <title>查看版本</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
	<script src="${ctxStatic}/ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
		
    </script>
</head>

<body class="Flow">

    <div class="f_bg">
    
        <div class="logo_1"></div>

        <div class="gray_bg">

            <div class="gray_bg2">

                <div class="w_bg">

                    <div class="Bottom">

                        <div class="Top">

                            <h1 class="t_c">上海申通地铁集团有限公司<br>
                              	版本管理</h1>

                            <div class="mb10">
                                <form id="form">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_2">
                                        <thead>
                                            <th colspan="4" class="f1">
                                                <h5 class="fl">基本信息</h5>
                                            </th>
                                        </thead>
                                        <tbody>
                                            <tr>
                                            	<td class="lableTd t_r">修志类别</td>
                                                <td width="35%">
                                                    ${fields.chronType.option[version.chronType]}
                                                </td>
                                                <td class="lableTd t_r">标题</td>
                                                <td width="35%">
                                                    ${version.title}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lableTd t_r">稿件版本</td>
                                                <td>
                                                    ${version.version}
                                                </td>
                                                <td class="lableTd t_r">稿件类型</td>
                                                <td>
                                                    ${fields.type.option[version.type]}
                                                </td>                                                
                                            </tr>
                                            
		                                  	<tr>
			                          	     	<td class="lableTd t_r">相关附件</td>
			                                    <td colspan="3">
												  	<iframe style="display:inline;" scrolling="auto" height="150" frameborder="0" marginheight="0" marginwidth="0" width="100%" id="attachFrame" name="attachFrame" 
												  	src="${ctx}/jsp/attach/fileUpload.jsp?modelName=version&modelId=${version.id}"></iframe>
												</td>
			                          	    </tr>     
		                                  		                          	                                            
                                        </tbody>
                                    </table>
                                </form>
                            </div>
                            <div class="mb10 t_c">
                                <input type="button" id="btndel" value="关 闭" onclick="window.close()"/>
                                &nbsp;
                            </div>
                            <div class="footer"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
